<!DOCTYPE html>
<html lang="en">
<title> {% block title %}{% endblock %} - SPEC性能数据中台</title>
<head>
    {% block head %}
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>{{ title }}</title>
        <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap.min.css') }}">
        <script src="{{ url_for('static', filename='js/bootstrap.js') }}"></script>
        <script src="{{ url_for('static', filename='js/bootstrap.bundle.js') }}"></script>
        <script src="{{ url_for('static', filename='js/jquery-3.6.0.min.js') }}"></script>
        <script type="text/javascript" src="{{ url_for('static', filename='js/echarts.min.js') }}"></script>
        <link rel="stylesheet" href="{{ url_for('static', filename='css/bootstrap-select.min.css') }}">
        <script src="{{ url_for('static', filename='js/bootstrap-select.min.js') }}"></script>
        <script src="{{ url_for('static', filename='js/defaults-zh_CN.min.js') }}"></script>
    {% endblock %}

    <style>
        .ulfloat{
            display: block;
            overflow: hidden;
            white-space: nowrap;
            left: auto;
            right: 0px;
            padding-right: 40%;
        }
        .lifloat{
            {#float: left;#}
            list-style: none;
            display: inline-block;
            margin-left: 15px;
            {#margin: 0px;#}
            {#padding: 0px;#}
            {#width: 100px;#}
        }
        th {
            white-space: nowrap;
        }
    </style>
</head>
<body>
    <div class="navbar navbar-light bg-light navbar-static-top">
        <span class="navbar-brand mb-0 h1" style="padding-left: 20px" href="/index">SPEC性能数据中台</span>
        <ul class="navbar-nav mr-auto ulfloat">
            <li class="nav-item active lifloat">
                <a class="nav-link" href="/board">看板</a>
            </li>
            <li class="nav-item lifloat">
                <a class="nav-link" href="/show_data">分类</a>
            </li>
{#            <li class="nav-item dropdown lifloat">#}
{#                <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"#}
{#                   data-toggle="dropdown" aria-expanded="false">#}
{#                    Dropdown#}
{#                </a>#}
{#                <div class="dropdown-menu" aria-labelledby="navbarDropdown">#}
{#                    <a class="dropdown-item" href="#">Action</a>#}
{#                    <a class="dropdown-item" href="#">Another action</a>#}
{#                    <div class="dropdown-divider"></div>#}
{#                    <a class="dropdown-item" href="#">Something else here</a>#}
{#                </div>#}
{#            </li>#}
{#            <li class="nav-item dropdown lifloat">#}
{#                <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button"#}
{#                   data-toggle="dropdown" aria-expanded="false">#}
{#                    Dropdown link#}
{#                </a>#}
{#                <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">#}
{#                    <a class="dropdown-item" href="#">Action</a>#}
{#                    <a class="dropdown-item" href="#">Another action</a>#}
{#                    <a class="dropdown-item" href="#">Something else here</a>#}
{#                </div>#}
{#            </li>#}
            <li class="nav-item lifloat">
                <a class="nav-link" href="/processor_anysis_score">分析</a>
            </li>
            <li class="nav-item lifloat">
                <a class="nav-link" href="https://spec.org/">友链</a>
            </li>
        </ul>
        <form class="form-inline" style="padding-right: 20px">
                <span style="margin-right: 30px">你好！
                    {% block user %}
                        <username>{{ username }}</username>
                    {% endblock %}
                </span>
            <a class="btn btn-outline-dark" href="/index" role="button" style="margin-right: 20px">退出登录</a>
        </form>
    </div>
    {% block content %}
    {% endblock %}

    <div>
        <br>
        <br>
        <br>
        <br>
        <h5 style="text-align: center; padding-top: 50vh">---- 到底了 ---- </h5>
        <div>
            <hr style="border: 1px solid #000000;">
        </div>
        <br>
        <br>
    </div>


</body>
</html>